﻿using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLE_Barcode
{
    public class MemoryCacheSingleton
    {
        private static readonly MemoryCache _instance = new MemoryCache(new MemoryCacheOptions());

        private MemoryCacheSingleton() { }

        public static MemoryCache Instance
        {
            get { return _instance; }
        }
    }
}
